<template>
  <div class="root">
    <div class="header">
      <span>权限设置</span>
    </div>
    <div class="line"></div>
    <div class="main">
      <div>
       
      </div>
     <table>
       <thead>
        <tr>
            <td>
                权限管理
            </td>
        </tr>
        
       </thead>
       <tbody>
         <tr>
            <td>
        <el-checkbox v-model="checked1" label="xx权限" size="large" border />
        <el-checkbox v-model="checked2" label="xx权限" size="large" border />
        <el-checkbox v-model="checked3" label="xx权限" size="large" border />
        <el-checkbox v-model="checked4" label="xx权限" size="large" border />
        <el-checkbox v-model="checked5" label="xx权限" size="large" border />
        <el-checkbox v-model="checked6" label="xx权限" size="large" border />
            </td>
        </tr>
        <tr>
            <td>
              <el-checkbox v-model="checked7" label="xx权限" size="large" border />
              <el-checkbox v-model="checked8" label="xx权限" size="large" border />
            </td>
        </tr>
       </tbody>
     </table>
    </div>
  </div>
</template>

<script setup>
import { ref } from "vue";

const checked1 = ref(true);
const checked2 = ref(false);
const checked3 = ref(false);
const checked4 = ref(false);
const checked5 = ref(false);
const checked6 = ref(false);
const checked7 = ref(false);
const checked8 = ref(false);
</script>

<style lang="less" scoped>
table{
    margin: 20px;
    border: 1px solid rgba(225, 217, 217, 0.923);
   thead{
    background-color: rgb(239, 239, 239);
   }
}
.header {
  width: 100%;
  height: 40px;
  padding: 5px;
  color: rgb(255, 153, 0);
  line-height: 30px;
  span {
    display: inline-block;
    width: 100px;
    height: 26px;
    border-left: 6px solid rgb(255, 153, 0);
    padding: 5px;
  }
  tr{
    border: 1px solid #888;
  }
}
.line {
  height: 10px;
  width: 100%;
  background-color: rgb(246, 239, 239);
}
</style>
